package com.iss.springdemo1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication // Configuration ComponentScan
public class Springdemo1Application {

    public static void main(String[] args) {

        SpringApplication.run(Springdemo1Application.class, args);
    /*    UserService userService = context.getBean(UserService.class);
        // no new
        // 反射
        userService.test();*/
    }

}
